﻿@model BudgetMealsModels.Entities.Comment

@{
    Layout = null;
}

@*@using(Html.BeginForm("AddReply", "Comment", Model))
{
    <p>@Html.TextAreaFor(x => x.Review)</p>
    <input type="submit" value="Reply" />
}*@
@using (Html.BeginForm("AddReply", "Comment", new { Comment = Model.ParentID }))
{
    <textarea id="Comment@(Model.ParentID)" rows="5" cols="25" class="ReplyBox" placeholder="Add a reply..."></textarea><br />
    <span class="PseudoLink" onclick="AddReply(@Model.ParentID);" style="text-decoration: underline; color: rgb(163,34,19)">Add Reply</span>
}